BenSelect Documentation
Questions - Scripts for Split Agent
Send Feedback
JScript Examples > JScript for Questions > Questions - Scripts for Split Agent

Glossary Item Box

//Script for auto answer for percent (Default Value)

Event.Value = Event.Properties['Field_Split1'];

//Script for auto answer for agent number (Default Value)

Event.Value = Event.Properties['Field_AgentNumber2'];

//Script for auto answer for agent name (Default Value)

Event.Value = Event.Properties['Field_Agent2'];

 

//OnLoad script for Benefit plan

//Set properties to populate agent splits on app.

Event.Properties['Field_Split1'] = '75'; // 0-100 for enroller

Event.Properties['Field_Agent2'] = 'Adam Smith';

Event.Properties['Field_AgentNumber2'] = '070888'; // number of agent 2 for split

Event.Properties['Field_Split2'] = '15'; // 0-100 for agent 2 split

Event.Properties['Field_Agent3'] = 'Helen Parker';

Event.Properties['Field_AgentNumber3'] = '098765'; // number of agent 3 for split

Event.Properties['Field_Split3'] = '10'; // 0-100 for agent 3 split

Event.Properties['Field_Agent4'] = ;

Event.Properties['Field_AgentNumber4'] = ; // number of agent 4 for split

Event.Properties['Field_Split4'] = ; // 0-100 for agent 4 split


 

©2024. All Rights Reserved.